package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.base.BaseMapper;
import org.example.model.Record;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface RecordMapper extends BaseMapper<Record> {
    int batchInsert(List<Record> records);

    int deleteByMemberId(Integer memberId);

    int deleteByAwardId(Integer awardId);

    int deleteBySettingId(Integer settingId);
}